<header class="navbar navbar-static-top bs-docs-nav header-top-nav navbar-fixed-top" id="header-top" style="background-color:#fff;">
			<div class="integral-bgheader" id="integral-bgheader"></div>
  <div class="container">
    <div class="navbar-header">

      <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target="#bs-navbar" aria-controls="bs-navbar" aria-expanded="false">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <button class="navbar-toggle collapsed search-btn" type="button" data-toggle="collapse" data-target="#bs-search" aria-controls="bs-search" aria-expanded="false">
        	<i class="glyphicon glyphicon-search"></i>
    </button>
      <a href="/" class="navbar-brand">昆仑学苑</a>
    </div>
    <nav id="bs-navbar" class="collapse navbar-collapse navbar-left">
      <ul class="nav navbar-nav">
        <li>
          <a href="/" onclick="" >首页</a>
        </li>
        <li class="dropdown">
          <a href="/list" onclick="" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">书籍<span class="caret"></span></a>
          <ul class="dropdown-menu">
              <li><a href="/list">所有书籍</a></li>
              <li><a href="/list?tid=0">未分类</a></li>
			  <li><a href="/list?tid=1">人物类</a></li>
              <li><a href="/list?tid=2">医理类</a></li>
			  <li><a href="/list?tid=3">本草类</a></li>
			  <li><a href="/list?tid=4">方药类</a></li>
			  <li><a href="/list?tid=5">针灸类</a></li>
			  <li><a href="/list?tid=6">医案类</a></li>
			  <li><a href="/list?tid=7">注述类</a></li>
			  <li><a href="/list?tid=8">正骨类</a></li>
			  <li><a href="/list?tid=9">推拿类</a></li>
			  <li><a href="/list?tid=10">儿科类</a></li>
			  <li><a href="/list?tid=11">妇科类</a></li>
          </ul>
        </li>
        <li>
          <a href="/bookself" onclick="" >我的书架</a>
        </li>
        <li class="dropdown">
          <a href="/chat" onclick="" >AI问答</a>
        </li>
      </ul>
      <form class="navbar-form navbar-left">
        <div class="form-group search-style"  id="bs-search">
          	<input type="text" class="form-control " placeholder="输入关键字" id="search-content">
			<span class="form-group-btn">
				<button type='button' onclick="submit_search()" class="btn btn-default ">搜索</button>
			</span>
        </div>
      </form>
    </nav>
    <ul class="nav navbar-nav collapse navbar-collapse navbar-right">
         {% if data.login_user.islogin %}
         <li class="dropdown">
             <a href="javascript:;" onclick="" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
              {{ data.login_user.username }}
             <span class="caret"></span></a>
             <ul class="dropdown-menu">
			        <li><a href="/logout">退出登录</a></li>
             </ul>
        </li>
        {% else %}
        <li class="dropdown">
            <a href="/system/passport/login" >
              {{ data.login_user.username }}

            </a>
        </li>
        {% endif %}
	</ul>
  </div>
</header>